<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Login</title>
</head>
<body>
<h1>登录</h1>
<!--指定post请求方式-->
<form th:action="@{/login}" method="post">
    <p>用户名：<input  type="text" name="name"/></p>
    <p>密码：<input  type="text" name="password"/></p>
    <p><input  type="checkbox" name="remember"/>记住我</p>
    <p><button type="submit" >登录</button></p>
</form>
</body>
</html>